import React from 'react'
import { Tabs, } from 'antd';
import type { TabsProps } from 'antd';


function Index() {
    const onChange = (key: string) => {
        console.log(key);
      };
      
      const items: TabsProps['items'] = [
        {
          key: '1',
          label: '首页',
          children: [
            '阿斯达卡仕达酱汕德卡双打卡卢萨卡大萨达拉萨四大四大三',
            'asdasdasdsad'
          ],
         
        },
        {
          key: '2',
          label: '热搜',
          children: 'Content of Tab Pane 2',
        },
        {
          key: '3',
          label: '小说',
          children: 'Content of Tab Pane 3',
        },
      ];
  return (
    <div>
      <Tabs defaultActiveKey="1" items={items} onChange={onChange} />
    </div>
  )
}

export default Index

